package com.example.spring_test2.domain;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@AllArgsConstructor
@Builder
public class Product {
    @NotNull
    private Long id;
    private String name;
    private Double price;
    private Integer stock;
    private String description;
}
